package com.sfh.gd.service.error;

import lombok.AllArgsConstructor;

@AllArgsConstructor
public enum AppErrorCodeEnum implements IErrorCode {

    APP_UNKNOWN_ERROR("B006001", "应用不存在，请检查！"),
    APP_EXIST_ERROR("B006002", "应用已存在，请检查！");

    /**
     * 错误码
     */
    private final String code;

    /**
     * 错误提示消息
     */
    private final String message;


    @Override
    public String code() {
        return code;
    }

    @Override
    public String message() {
        return message;
    }
}
